/**
* Copyright (c) 2016 ShopJsp. All Rights Reserved.
 * ============================================================================
 * 版权所有 2011 - 今 北京华宇盈通科技有限公司，并保留所有权利。
 * ----------------------------------------------------------------------------
 * 提示：在未取得SHOPJSP商业授权之前，您不能将本软件应用于商业用途，否则SHOPJSP将保留追究的权力。
 * ----------------------------------------------------------------------------
 * 官方网站：http://www.shopjsp.com
 * ============================================================================
*/
package com.hyyt.shopjsp.util.common;

/**
 * 定义静态常量键，键名全部使用大写，仅适用于程序内部处理运用的键，对于业务中可能会改变，影响运营的键需放入数据字典中
 *
 * @author: ankang
 * @Date 2016/7/22 0022 18:54
 */
public class StringStaticKey {
    /**项目根路径*/
    public final static String BASE_PATH = "base_path_front";
    /**后台管理项目根路径*/
    public final static String BASE_PATH_BACK = "base_path_back";
    /**手机项目根路径*/
    public final static String BASE_PATH_PHONE = "base_path_phone";
    /**用户Session保存键*/
    public final static String SESSION_CUSTOM = "customer";
    /**用户子帐号保存键*/
    public final static String SESSION_SONACCOUNT = "sonaccount";
    /**商家Session保存键*/
    public final static String SESSION_STORE = "shopInfo";
    /**购物车cookie保存键*/
    public final static String COOKIE_CART_USER_KEY = "user-key";
    /**购物车cookie数量保存键*/
    public final static String COOKIE_CARTCOUNT_USER_KEY = "cartCount";
    /**发票税率，普通发票保存键*/
    public final static String INVOICE_TYPE_RATES_GENERAL = "rates_general";
    /**发票税率，增值发票保存键*/
    public final static String INVOICE_TYPE_RATES_VAT = "rates_vat";
    /**客服最大使用数量保存键*/
    public final static String CALLCENTER_MAX_CALLSERVICENUM = "max_callServicenNum_front";
    /**短信发送功能是否开通保存键*/
    public final static String BASEINFO_openSMS = "yunSDK_openSMS";
    /**短信模板id保存键*/
    public final static String YUNSDK_TEMPLATE = "yunSDK_template";
    /**基础信息短信验证码过期时间保存键*/
    public final static String BASEINFO_SESSION_PHONE = "session_phone";
    /**基础信息短信验证码保存键前缀*/
    public final static String BASEINFO_VALIDATE_PHONE = "validate_phone_";
    /**基础信息验证码过期时间保存键*/
    public final static String BASEINFO_SESSION_CODE = "session_code";
    /**基础信息验证码保存键前缀*/
    public final static String BASEINFO_VALIDATE_CODE = "validate_code_";
    /**基础配置redis中存放键前缀*/
    public final static String SYSTEMCONFIG_PREFIX = "systemConfig_";
    /**数据字典redis中存放键前缀*/
    public final static String KEYBOOK_PREFIX = "keybook_";
    /**首页数据字典redis中存放键前缀*/
    public final static String HOME_KEYBOOK_PREFIX = "home_keybook_";
    /**手机首页数据字典redis中存放键前缀*/
    public final static String PHONE_KEYBOOK_PREFIX = "phone_keybook_";
    /**全部业务状态数据redis中存放键*/
    public final static String KEYBOOK_STATUS_PREFIX = "keybook_status_";
    /**商品分类redis中存放键*/
    public final static String PRODUCT_TYPE = "product_type";
    /**订单业务状态数据redis中存放键*/
    public final static String ORDERS_STATUS = "keybook_status_ordersState";
    /**退货业务状态数据redis中存放键*/
    public final static String RETURNS_STATUS = "keybook_status_returnsState";
    /**付款状态数据redis中存放键*/
    public final static String SETTLEMENT_STATUS = "keybook_status_settlementStatus";
    /**注册赠送金币数量*/
    public final static String COIN_RULES_REGISTER = "coinRulesRegister";
    /**推荐注册赠送金币数量*/
    public final static String COIN_RULES_RECOMMEND = "coinRulesRecommend";
    /**商城全局上传文件夹名*/
    public final static String FILE_SHOP = "sys_shop";
    /**文章全局上传文件夹名*/
    public final static String FILE_ARTICLE = "article";
    /**上传文件夹规则*/
    public final static String FILE_RULE = "fileRule";
    /**文件上传根路径*/
    public final static String  FILE_UPLOAD_ROOT = "fileUploadRoot";
    /**上传文件访问根路径*/
    public final static String FILE_UPLOAD_VISIT_ROOT = "uploadFileVisitRoot";
    /**会员图片上传*/
    public final static String IMAGE_CUSTOMER = "image_customer";
    /**店铺图片上传*/
    public final static String IMAGE_SHOPINFO = "image_shopInfo";
    /**暂商品退货图片*/
    public final static String IMAGE_PRODUCT = "image_product";
    /**团购主图路径*/
    public final static String IMAGE_GROUP = "image_group";
    /**生成静态文件存放位置路径*/
    public final static String OUT_PATH_HTML = "out_path_html";
    /**生成静态页面首页文件的全路径*/
    public final static String OUT_PATH_INDEX = "out_path_index";


    /**********************************账务部分定义键****************************/
    /**查询现金钱包余额、余额总收入、余额总支出、充值总额*/
    public final static String GET_BALANCE = "getBalanceByIdPath";
    /**查询现金钱包剩余金币、金币总收入、金币总支出*/
    public final static String GET_BALANCECOIN = "getBalanceCoinByIdPath";
    /**查询现金钱包/金币 余额的参数*/
    public final static String GET_BALANCEORCOIN_PARAM= "getBalanceOrCoinByIdPathParam";
    /**系统设置的赠送金币百分比*/
    public final static String VIRTUAL_COIN = "virtualCoinProportion";


    /**********************产品搜索**************************************/
    public final static String SEARCH_PRODUCT = "searchProduct";


    /***********************shopjsp_ssm_back项目***************/
    /**后台管理员Session保存键*/
    public final static String SESSION_USERS = "users";
    /**redis 头部权限 key 前缀*/
    public final static String PURVIEW_USER_PREFIX = "purview_user_";
    /**redis 以 back/开头前缀 保存URL权限*/
    public final static String PURVIEW_STARTSWITH_PREFIX = "back/";
    /**以 .inhtm 结尾后缀 过滤 内页 URL 权限*/
    public final static String PURVIEW_IN_HTML_LAST_SUFFIX = ".inhtm";
    /**以 .sjson 结尾后缀 过滤 AJAX URL 权限*/
    public final static String PURVIEW_AJAX_LAST_SUFFIX = ".sjson";
    /**shiro 以 back_ 开头前缀 保存菜单权限对应的功能权限*/
    public final static String PURVIEW_FUNCTION_PREFIX = "back_";
    /**后台微信粉丝保存用户名前缀*/
    public final static String BASIC_CUSTOMER_PREFIX = "shopjsp_";
    /**权限图标路径*/
    public final static String FILE_IMAGE_PURVIEW = "image_purview";
    /**后台首页同步统计*/
    public final static String BACK_HOME_STATISTICS = "back_home_statistics";
    /**后台微信公众号详情*/
    public final static String WX_PUBLIC_NO_INFO = "wx_public_no_info";
    /**后台微信公众号 access_tokens*/
    public final static String WX_ACCESS_TOKENS = "wx_access_tokens";
    /**后台微信公众号 ticket*/
    public final static String WX_TICKET = "wx_ticket";
    /**后台微信全局接口异常返回码 wx_global_return_code*/
    public final static String WX_GLOBAL_RETURN_CODE = "wx_global_return_code";

    /**权限图标路径*/
    public final static String FILE_SYS_WX = "sys_wx";
    /**获取微信公众号二维码名片文件名称*/
    public final static String FILE_WX_SHOPJSP_PUBLICNO_QRCODE = "wx_shopjsp_publicno_qrcode.png";
    /**获取用户分享二维码名片文件名称*/
    public final static String FILE_WX_SHOPJSP_CUSTOMER_QRCODE = "wx_shopjsp_customer_qrcode.png";

    /** 微信消息访问商品前缀地址 */
    public final static String WX_PHONE_PRODUCT_INFO_PRODUCT_ID_URL = "/phone/gotoProductInfo.action?productId=";
    /** 微信消息访问店铺前缀地址 */
    public final static String WX_PHONE_SHOP_INFO_ID_URL = "/phone/shopInfo/phoneGotoShopInfoPage.action?shopInfoId=";

}